<?php

class Subcategory extends CI_Model {
    
    private $table = 'subcategories'; 
    
    public function getAllRecords() {
        $rows = $this->db->get($this->table)->result();
        return $rows;
    }

}
?>
